package org.jeecg.modules.scm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: scm_five_level_classify_change
 * @Author: jeecg-boot
 * @Date:   2021-12-01
 * @Version: V1.0
 */
@Data
@TableName("scm_five_level_classify_change")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="五级分类变动登记", description="五级分类变动登记")
public class ScmFiveLevelClassifyChange implements Serializable {
    private static final long serialVersionUID = 1L;

	/**五级分类变动登记表ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "五级分类变动登记表ID")
    private String id;
    /**申请人*/
    @ApiModelProperty(value = "申请人")
    private String applyBy;
    /**申请大类*/
	@Excel(name = "申请大类", width = 15)
    @ApiModelProperty(value = "申请大类")
    private String mainClassify;
	/**申请小类*/
	@Excel(name = "申请小类", width = 15)
    @ApiModelProperty(value = "申请小类")
    @Dict(dicCode = "after_loan_secondary_classify")
    private String secondaryClassify;
	/**申请日期*/
	@Excel(name = "申请日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "申请日期")
    private Date applyTime;
	/**客户号*/
	@Excel(name = "客户号", width = 15)
    @ApiModelProperty(value = "客户号")
    private Integer cusNo;
	/**客户名称*/
	@Excel(name = "客户名称", width = 15)
    @ApiModelProperty(value = "客户名称")
    private String cusName;
	/**所属机构*/
	@Excel(name = "所属机构", width = 15)
    @ApiModelProperty(value = "所属机构")
    private String platformAffiliation;
	/**编号*/
	@Excel(name = "编号", width = 15)
    @ApiModelProperty(value = "编号")
    private String fiveLevelClassifyNo;
	/**发生日期*/
	@Excel(name = "发生日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "发生日期")
    private Date happenTime;
	/**调整前分类*/
	@Excel(name = "调整前分类", width = 15)
    @ApiModelProperty(value = "调整前分类")
    private String beforeClassify;
	/**调整后分类*/
	@Excel(name = "调整后分类", width = 15)
    @ApiModelProperty(value = "调整后分类")
    private String afterClassify;
	/**调整原因*/
	@Excel(name = "调整原因", width = 15)
    @ApiModelProperty(value = "调整原因")
    private String reason;
	/**征信登记*/
	@Excel(name = "征信登记", width = 15)
    @ApiModelProperty(value = "征信登记")
    @Dict(dicCode = "basic_mark")
    private Integer creditRegister;
	/**人行重大事项报告*/
	@Excel(name = "人行重大事项报告", width = 15)
    @ApiModelProperty(value = "人行重大事项报告")
    @Dict(dicCode = "major_event")
    private Integer majorEvent;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
	/**附件*/
	@Excel(name = "附件", width = 15)
    @ApiModelProperty(value = "附件")
    private String accessory;
	/**操作标识*/
	@Excel(name = "操作标识", width = 15)
    @ApiModelProperty(value = "操作标识")
    @Dict(dicCode = "after_loan_operate_type")
    private Integer operateType;
	/**最后修改人*/
    @ApiModelProperty(value = "最后修改人")
    private String updateBy;
	/**最后修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "最后修改时间")
    private Date updateTime;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
}
